package demo6;

import java.util.HashSet;
import java.util.Set;

public class DatabaseUtils {
    public static final Set<User> USERS = create();
    static Set<User> create(){

        User u1 = new  User(1,"熊大", User.BEIGING);
        User u2 = new  User(2,"熊二", User.BEIGING);
        User u3 = new  User(3,"光头强",User.SHANGHAI);
        Set<User> users = new HashSet<>();
        users.add(u1);
        users.add(u2);
        users.add(u3);

        return users;
    }
}
